package com.rc.saas.mini.service.tenant;

import com.rc.saas.mini.mapper.tenant.TenantPaymentActivityMapper;
import com.rc.saas.mini.vo.tenant.TenantPaymentActivityVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wangzhengwei
 * @create 2021/5/12
 */
@Service
public class TenantPaymentActivityServiceImpl implements TenantPaymentActivityService {
    @Autowired
    private TenantPaymentActivityMapper tenantPaymentActivityMapper;

    @Override
    public TenantPaymentActivityMapper getMapper() {
        return tenantPaymentActivityMapper;
    }

    @Override
    public List<TenantPaymentActivityVo> listTenantPaymentActivity(String tenantCode) {
        return tenantPaymentActivityMapper.listTenantPaymentActivity(tenantCode);
    }
}
